﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MeshText : MonoBehaviour
{

    // x => { return this.transform.InverseTransformPoint(this.mask.transform.TransformPoint(x)); }).
    // Start is called before the first frame update
    Vector3 vc = new Vector3(1, 1, 1);
    void Start()
    {
        Vector3 localpos = transform.localPosition;
        Vector3 worldpos = transform.position;
        Debug.Log("localPos" + localpos + "    worldpos" + worldpos);
        localpos = transform.TransformPoint(vc);
        worldpos = transform.InverseTransformPoint(localpos);
        Debug.Log("localPosTemp " + localpos + "    worldpos_temp   " + worldpos);

    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
